<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link href="/static/bootstrap-3.4.1/css/bootstrap.css" rel="stylesheet">
    <style>
        .login-box {
            margin-top: 100px;
            margin-left: auto;
            margin-right: auto;
            width: 450px;
            border: 1px solid #ddd;
            padding: 0 30px 30px 30px;
        }

        .login-box h2 {
            text-align: center;
        }
    </style>
</head>
<body>

<div class="login-box">
    <h2>用户登录</h2>
    <form method="post">
        <div class="form-group">
            <select class="form-control" name="role">
                <option value="1">客户</option>
                <option value="2">管理员</option>
            </select>
        </div>
        <div class="form-group">
            <label>手机号</label>
            <input class="form-control" name="mobile" placeholder="手机号" type="text">
        </div>
        <div class="form-group">
            <label>密码</label>
            <input class="form-control" placeholder="密码" name="pwd" type="password">
        </div>
        <input class="btn btn-primary" type="submit" value="登 录">
        <span style="color: red;">{{ error }}</span>
    </form>
</div>

<script src="/static/jquery-3.6.0.min.js"></script>
<script src="/static/bootstrap-3.4.1/js/bootstrap.js"></script>

</body>
</html>